package com.ruoyi.form.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接口调用日志对象 form_log
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
public class FormLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 申请表主键 */
    @Excel(name = "申请表主键")
    private Integer registerId;

    /** 1成功  2失败  3异常 */
    @Excel(name = "1成功  2失败  3异常")
    private Integer state;

    /** 接口返回信息 */
    @Excel(name = "接口返回信息")
    private String apiDesc;

    /** 1撞库接口  2申请接口 */
    @Excel(name = "1撞库接口  2申请接口")
    private Integer apiType;

    private String name;
    private String phone;
    private String paramDesc;

    public String getParamDesc() {
        return paramDesc;
    }

    public void setParamDesc(String paramDesc) {
        this.paramDesc = paramDesc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setRegisterId(Integer registerId) 
    {
        this.registerId = registerId;
    }

    public Integer getRegisterId() 
    {
        return registerId;
    }

    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    public void setApiDesc(String apiDesc) 
    {
        this.apiDesc = apiDesc;
    }

    public String getApiDesc() 
    {
        return apiDesc;
    }

    public void setApiType(Integer apiType) 
    {
        this.apiType = apiType;
    }

    public Integer getApiType() 
    {
        return apiType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("registerId", getRegisterId())
            .append("state", getState())
            .append("apiDesc", getApiDesc())
            .append("apiType", getApiType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
